package com.huawei.esdk.uc.jna.struct;

import java.util.ArrayList;
import java.util.List;

import com.sun.jna.Structure;

public class STCallHistroyData extends Structure
{
    public int iTotal;

    public int iFrom;

    public int iTo;

    public STCallHistroyItem[] stCallHistory;

    public STCallHistroyData(int size)
    {
        super();
        stCallHistory = new STCallHistroyItem[size];
    }

    @Override
    protected List<String> getFieldOrder()
    {
        ArrayList<String> list = new ArrayList<String>();
        list.add("iTotal");
        list.add("iFrom");
        list.add("iTo");
        list.add("stCallHistory");
        return list;
    }

}
